import service from '@/utils/request'

const DeviceLocationApi = {
  // ----------------设备地址管理--------------
  addHouse:function(data){
    return service.post('beeperHouse', data)
  },
  deleteHouse:function(data){
    return service.put('beeperHouse/delete', data)
  },
  editHouse:function(data){
    return service.put('beeperHouse', data)
  },
  listHouseInfo:function(data){
    return service.get('beeperHouse/listIdName', {params:data})
  },
  listHouse:function(data){
    return service.get('beeperHouse/page', {params:data})
  },
  getHouseInfo:function(data){
    return service.get('beeperHouse', {params:data})
  },
}

export default DeviceLocationApi
